<%@page import="net.vinote.smart.platform.comm.PlatformConst"%>
<%@page import="net.vinote.smart.ButtonTag"%>
<%@page import="net.vinote.smart.UILookAndFeel"%>
<%@page import="net.vinote.smart.Component"%>
<%@page import="net.vinote.smart.Datagrid"%>
<%@page import="net.vinote.smart.PlatformException"%>
<%@page import="net.vinote.smart.Button"%>
<%@page import="net.vinote.smart.UIManager"%>
<%@page import="net.vinote.smart.Platform"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!--页面布局目录  -->
<%@include file="/comm/begin_info.jsp"%>
<%
	String layoutID = request.getParameter("layoutID");
	info.setParamVal(layoutID);
	ButtonTag[] buttons = UILookAndFeel.getInstance().getButtons(
	new String[][]{{"取消", "cancel()"},{"保存", "doSave()"}});
	info.addButtons(buttons, Component.NORTH);
	info.setDoNo("LayoutCatalogInfo");
%>
<script>
function cancel() {
	self.close();
}

	function doSave() {
		var sReturn=DWControl.save();
		if(sReturn!='<%=PlatformConst.SUCCESS%>'){
			alert(sReturn);
			return;
		}
		self.returnValue=sReturn;
		self.close();
	}
</script>
<%@include file="/comm/end_info.jsp"%>